 {% load staticfiles %}
<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <link rel="shortcut icon" href="img/favicon_1.ico">

        <title>导入物流信息</title>

        <!-- Bootstrap core CSS -->
        <link href="{% static '' %}velonic/css/bootstrap.min.css" rel="stylesheet">
        <link href="{% static '' %}velonic/css/bootstrap-reset.css" rel="stylesheet">

        <!--Animation css-->
        <link href="{% static '' %}velonic/css/animate.css" rel="stylesheet">

        <!--Icon-fonts css-->
        <link href="{% static '' %}velonic/css/font-awesome.css" rel="stylesheet" />
        <link href="{% static '' %}velonic/css/ionicons.min.css" rel="stylesheet" />
        <link href="{% static '' %}velonic/css/material-design-iconic-font.min.css" rel="stylesheet" />

        <!-- Dropzone css -->
        <link href="{% static '' %}velonic/css/dropzone.css" rel="stylesheet" type="text/css" />

        <!-- Custom styles for this template -->
        <link href="{% static '' %}velonic/css/style.css" rel="stylesheet">
        <link href="{% static '' %}velonic/css/helper.css" rel="stylesheet">
        

        <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
        <!--[if lt IE 9]>
          <script src="{% static '' %}velonic/js/html5shiv.js"></script>
          <script src="{% static '' %}velonic/js/respond.min.js"></script>
        <![endif]-->



    </head>


    <body>

        <!-- Aside Start-->
        {% include 'velonic/block/side_nav.html' %}
        <!-- Aside Ends-->


        <!--Main Content Start -->
        <section class="content">
            
            <!-- Header -->
            {% include 'velonic/block/header.html' %}
            <!-- Header Ends -->


            <!-- Page Content Start -->
            <!-- ================== -->

            <div class="wraper container-fluid">
                <div class="page-title"> 
                    <h3 class="title">物流数据导入</h3>
                </div>

                <div class="row">

                    <div class="col-md-12 portlets">
                        <!-- Your awesome content goes here -->
                        <form action="#" class="dropzone" id="dropzone" enctype="multipart/form-data" method="post" onsubmit="return chk();">
                        {% csrf_token %}
                             <div class="m-b-30">
                                <div class="fallback">
                                <input name="wuliu" type="file" multiple />
                              </div>

                        </div>
                        </form>

                    </div>
                </div>
            </div>

            <!-- Page Content Ends -->
            <!-- ================== -->

            <!-- Footer Start -->
            {% include 'velonic/block/footer.html' %}
            <!-- Footer Ends -->



        </section>
        <!-- Main Content Ends -->
        



        <!-- js placed at the end of the document so the pages load faster -->
        <script src="{% static '' %}velonic/js/jquery.js"></script>
        <script src="{% static '' %}velonic/js/bootstrap.min.js"></script>
        <script src="{% static '' %}velonic/js/pace.min.js"></script>
        <script src="{% static '' %}velonic/js/wow.min.js"></script>
        <script src="{% static '' %}velonic/js/jquery.nicescroll.js" type="text/javascript"></script>


        <script src="{% static '' %}velonic/js/jquery.app.js"></script>

        <!-- Page Specific JS Libraries -->
        <script src="{% static '' %}velonic/js/dropzone.min.js"></script>


    <script type="text/javascript">
        function chk(){
                var obj = document.getElementById('wuliu');
                alert(obj.value);
                if(obj.value==''){
                        alert("请选择文件上传。");
                        return false;
                    }
            }
</script>


    {% include 'velonic/block/footer_comm.html' %}


    </body>
</html>
